Skip to content

Change example script location to XDG location - #263

Merged
Shnatsel merged 1 commit into
rust-secure-code:masterfrom
CAD97:patch-1
Aug 22, 2026
Merged

Change example script location to XDG location#263
Shnatsel merged 1 commit into
rust-secure-code:masterfrom
CAD97:patch-1

Conversation

@CAD97

@CAD97 CAD97 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

The XDG Base Directory Specification includes:

User-specific executable files may be stored in $HOME/.local/bin. Distributions should ensure this directory shows up in the UNIX $PATH environment variable, at an appropriate place.

So: use that as the example path instead of $HOME/.bin.

The [XDG Base Directory Specification][basedir] includes:

> User-specific executable files may be stored in `$HOME/.local/bin`. Distributions should ensure this directory shows up in the UNIX `$PATH` environment variable, at an appropriate place.

So: use that as the example path instead of `$HOME/.bin`.

[basedir]: <https://specifications.freedesktop.org/basedir/0.8/>
@Shnatsel
Shnatsel merged commit e093272 into rust-secure-code:master Aug 22, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants